package com.rdxer.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Data
@Table
@AllArgsConstructor
@NoArgsConstructor
@Builder
// 专业
public class Paper {
    @Id
    @Column(length = 100)
    private String id;
    @Column(length = 100)
    private String userId;

    private String title;
    private String remark;
    private String randomStartIndex;//
    private Integer randomEndIndex;//	Int	100	是
    private Integer randomPickCount;//	Int	100	是

    private String state;//	Varchar	100	否

    private String courseId;//	Varchar	100	是

    private Long testStartTime;//	BigInt	20	是
    private Long testEndTime;//	BigInt	20	是
    private Long testDuration;//	BigInt	20	是

    private Double passingScore;//	Double		是
    private Double goodScore;//	Double		是

    public enum State{
        edit,
        working
    }
}
